package String;

public class TopperCaseDemo {
    public static void main(String[] args) {
        String str="打死你个岁孙，guisun";
        String upper=str.toUpperCase();
        System.out.println(upper);
        String lower=str.toLowerCase();
        System.out.println(lower);
        String de ="My Name is yPin Lol";
        String u=de.toUpperCase();
        System.out.println(u);
        String fe=de.toLowerCase();
        System.out.println(fe);
        String tell="thinking in china";
        boolean stars=tell.startsWith("think");
        boolean ends=str.endsWith("java");
        System.out.println(stars);
        System.out.println(ends);
        String full="think";
        boolean we=full.startsWith("t");
        boolean be=full.endsWith("h");
        System.out.println(we);
        System.out.println(be);
        String gg="你是一个乌龟";
        boolean tu=gg.startsWith("你");
        boolean re=gg.endsWith("贵");
        System.out.println(tu);
        System.out.println(re);
    }
}
